<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
    <meta charset="UTF-8">
    <title>搜索</title>
    <link rel="stylesheet" href="${ctx}/static/styles/search.css" type="text/css">
</head>
<body>
<div class="main">
    <div class="container">
        <h1>文档搜索</h1>
        <h3>可搜索文档标题、摘要、时间等内容<a href="${ctx}/doc/seniorSearch" class="advanced-search-mode-btn">试试高级搜索?</a></h3>
        <div class="general-search">
            <form class="general-search-form" action="${ctx}/doc/search" method="get">
                <div class="input-group input-group-lg search-input has-feedback">
                    <input class="form-control" type="text" name="keyword" placeholder="输入您想搜索的关键词">
                    <span class="input-group-btn">
                            <button class="btn search-btn" type="submit">
                                <span class="glyphicon glyphicon-search"></span>
                            </button>
                        </span>
                </div>
            </form>
            <form class="form-inline advanced-search">
                <a href="#" class="advanced-search-close">×</a>
                <label>高级搜索<span>（选择字段，输入关键词，并选择字段之间的逻辑关系）</span></label>
                <div class="advanced-search-area">
                    <div class="search-btn-group">
                        <span class="glyphicon glyphicon-plus advanced-search-btn search-plus-btn"></span>
                        <span class="glyphicon glyphicon-minus advanced-search-btn search-minus-btn"></span>
                    </div>
                    <select class="form-control">
                        <option value="1">标题</option>
                        <option value="2">时间</option>
                        <option value="3">行业</option>
                        <option value="4">来源</option>
                    </select>
                    <div class="input-group">
                        <input class="form-control" type="text">
                    </div>
                    <select class="form-control">
                        <option>并含</option>
                        <option>或含</option>
                        <option>不含</option>
                    </select>
                    <div class="input-group">
                        <input class="form-control" type="text">
                    </div>
                </div>
                <div class="advanced-search-footer">
                    <button class="btn search-btn" type="button">
                        <span class="glyphicon glyphicon-search"></span>
                        <span>搜索</span>
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
</html>